home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / prop_man.zip / UNOCCUP.SAB < prev    next >
Text File  |  1991-11-07  |  2KB  |  51 lines

  1. CLS
  2. SET MESSAGES OFF
  3. display cp.dis
  4. write "UNOCCUP.SAB" at 2,36
  5. WRITE "       List Of Vacant Housing" AT 8,22
  6. WRITE "Processing -- Please Wait" AT 12,28
  7. DELETE ROWS FROM UNOCCUP WHERE ADD.CODE EXISTS
  8. REMOVE TAB TEMP
  9. REMOVE TAB TEMP2
  10. SUBTRACT CUR.MAST FROM PROPERTY FORMING TEMP2 USING ADD.CODE
  11. PROJECT TEMP FROM TEMP2 USING ALL
  12. SET POINTER #1 EOF FOR TEMP
  13. WHILE EOF = 0 THEN
  14. SET V CODE TO ADD.CODE IN #1
  15. APPEND PROPERTY TO UNOCCUP WHERE ADD.CODE = .CODE
  16. NEXT #1 EOF
  17. ENDWHILE
  18. CHANGE l.name TO "  vacant" IN UNOCCUP WHERE ADD.CODE EXISTS
  19. change l.name to "  vacant" in unoccup2 where add.code exists
  20. append cur.mast to unoccup whe lease < (.#date + 60)
  21. del rows from unoccup whe oner = "expacct"
  22. append cur.mast to unoccup where notice exists
  23. append cur.mast to unoccup where sus.vac exists
  24. append unoccup2 to unoccup where add.code exists
  25. del row fro menomony where add.code exists
  26. app unoccup to menomony where add.code contains men
  27. del row fro menomony where includes = "exempt"
  28. del row fro menomony where city con manage
  29. del row fro unoccup where add.code con men
  30. delete rows from unoccup where add.code contains nonrent
  31. delete rows from unoccup where size fails or size contains exempt
  32. set null " "
  33. out pri
  34. del row fro unoccup whe add.code contains bri050
  35. del row fro unoccup whe add.code con 24s1952
  36. append cur.mast to unoccup whe notice exists
  37. del dup fro unoccup
  38. print vacant2 sorted by size
  39. del row fro unoccup whe sus.vac = "e"
  40. del row fro unoccup whe sus.vac = "5"
  41. del row fro unoccup whe sus.vac = "c"
  42. pri vacant sor by size
  43. pri vacant sor by size
  44. pri menomony sor by add.code
  45. OUTPUT SCREEN
  46. CLS
  47. SET RULES ON
  48. RETURN
  49.  
  50.  
  51.